import org.apache.ignite.cache.query.annotations.QuerySqlField;

import java.io.Serializable;

/**
 * Baihejia
 * Created by wangguodong on 13/04/2018.
 */
public class Entity implements Serializable {

    public boolean isNew;
    @QuerySqlField(index = true)
    public Long id;
    public void setKey(Long id) {
        this.id = id;
        this.isNew = true;
    }
}
